<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class JoinInfo extends Model
{
    protected $dateFormat = 'U';
    protected $table = "lexiang_join_info";
    protected $primaryKey = 'join_id';

    public function getList($page=20)
    {
    	return JoinInfo::orderBy('created_at','desc')
    	->paginate($page);
    }
}
